package STUDENT.LETRUNGHIEU.GENERICS_EXERCISES.objects;

public class Reader {
	private int readerID, numberPhone;
	private String readerName, readerAR, readerJob;
		
	public Reader(int readerID, int numberPhone, String readerName, String readerAR, String readerJob) {
		this.readerID = readerID;
		this.numberPhone = numberPhone;
		this.readerName = readerName;
		this.readerAR = readerAR;
		this.readerJob = readerJob;
	}
	public int getReaderID() {
		return readerID;
	}
	public void setReaderID(int readerID) {
		this.readerID = readerID;
	}
	public int getNumberPhone() {
		return numberPhone;
	}
	public void setNumberPhone(int numberPhone) {
		this.numberPhone = numberPhone;
	}
	public String getReaderName() {
		return readerName;
	}
	public void setReaderName(String readerName) {
		this.readerName = readerName;
	}
	public String getReaderAR() {
		return readerAR;
	}
	public void setReaderAR(String readerAR) {
		this.readerAR = readerAR;
	}
	public String getReaderJob() {
		return readerJob;
	}
	public void setReaderJob(String readerJob) {
		this.readerJob = readerJob;
	}
	public String toString(){
		String result = "Reader info: "
				+ "\n- ID \t\t:" + this.getReaderID()
				+ "\n- Name  \t:" + this.getReaderName()
				+ "\n- Phone Number  :" + this.getNumberPhone()
				+ "\n- Address \t:" + this.getReaderAR()
				+ "\n- Job \t\t:" + this.getReaderJob();
		return result;
	}
	
}
